<?php
namespace Application\Admin\Controller;

class Withdraw extends Base
{

    public function init()
    {
        $this->setDir('withdraw');
        $this->setTemplate('audit', 'audit');
    }

    private function getService()
    {
        return $this->get(SERVICE_WITHDRAW);
    }

    public function auditAction()
    {
        $data = $this->getRequestData();
        $rs = $this->getService()->one($data['id']);
        $this->setFile($this->getTemplate('audit'));
        $this->setData(['rs' => $rs]);
        $this->show();
    }

}